<div class="m0" style="background-image: url('<?php echo $this->settings['metro_picture']; ?>');">
	<div class="over"></div>
	<h2><?php echo $this->settings['metro_raid']; ?></h2>
	<a class="over" href="index" data-to="ajax"></a>
	<span class="desc">Bosses slayed: <?php echo $this->settings['metro_progress']; ?></span>
</div>
<div class="m1">
	<div class="over"></div>
	<h2>Now Recruiting</h2>
	<a class="over" href="apply" data-to="ajax"></a>
	<span class="desc"><span class="_<?php echo str_replace(' ', '_', $this->settings['metro_class']); ?>"><?php echo $this->settings['metro_class']; ?></span> (Spec: <?php echo $this->settings['metro_spec']; ?>)</span>
</div>
<div class="m2">
	<div class="over"></div>
	<?php if(isset($this->session->auth)) { ?>
		<h2>View Profile</h2>
		<a class="over" href="profile" data-to="ajax"></a>
		<a class="desc" href="javascript:Frontend.logout();" id="auth"<?php echo isset($this->view->authorization) ? " data-token='{$this->view->authorization}'" : ''; ?> data-name="<?php echo $this->session->auth['name']; ?>">Logout (<?php echo $this->session->auth['name']; ?>)</a>
		<?php if(isset($this->session->auth['permissions']['root']) && $this->session->auth['permissions']['root'] == 1) { ?>
			<a class="console" href="console" data-to="ajax"></a>
		<?php } ?>
	<?php } else { ?>
		<h2>Login / Register</h2>
		<a class="over" href="login" data-to="ajax"></a>
		<a class="desc" href="forgot" data-to="ajax">Forgot your password?</a>
	<?php } ?>
</div>
<div class="m3">
	<div class="over"></div>
	<h2>Realm Status</h2>
	<a class="over" href="status" data-to="ajax"></a>
	<span class="desc"><?php echo $this->view->realm_status ? '<span class="green">Online</span>' : '<span class="red">Offline</span>'; ?> (Queue: <?php echo $this->view->realm_queue ? 'Yes' : 'No'; ?>)</span>
</div>
<div class="m4">
	<div class="over"></div>
	<h2>Guild Roster</h2>
	<a class="over" href="roster" data-to="ajax"></a>
	<span class="desc">Members: <?php echo $this->view->roster_count ? $this->view->roster_count : 'Unknown'; ?></span>
</div>